package com.shenyong.entity;

/**
 * Create By:qiang
 * Date: 2019/11/25 14:37
 * 文件说明: AdvertisingMapper
 */
public class Advertising {
    private int advertising_id;// 广告编号
    private int advertising_enabled;// 广告是否启用
    private String advertising_type;// 广告类型
    private int advertising_weight;// 广告权重
    private String advertising_title;// 广告标题
    private String advertising_content;// 广告内容
    private String advertising_startTime;// 广告开始时间
    private String advertising_endTime;// 广告结束时间
    private String advertising_url;// 广告链接

    public Advertising() {
    }

    public Advertising(int advertising_id, int advertising_enabled, String advertising_type, int advertising_weight, String advertising_title, String advertising_content, String advertising_startTime, String advertising_endTime, String advertising_url) {
        this.advertising_id = advertising_id;
        this.advertising_enabled = advertising_enabled;
        this.advertising_type = advertising_type;
        this.advertising_weight = advertising_weight;
        this.advertising_title = advertising_title;
        this.advertising_content = advertising_content;
        this.advertising_startTime = advertising_startTime;
        this.advertising_endTime = advertising_endTime;
        this.advertising_url = advertising_url;
    }

    public int getAdvertising_id() {
        return advertising_id;
    }

    public void setAdvertising_id(int advertising_id) {
        this.advertising_id = advertising_id;
    }

    public int getAdvertising_enabled() {
        return advertising_enabled;
    }

    public void setAdvertising_enabled(int advertising_enabled) {
        this.advertising_enabled = advertising_enabled;
    }

    public String getAdvertising_type() {
        return advertising_type;
    }

    public void setAdvertising_type(String advertising_type) {
        this.advertising_type = advertising_type;
    }

    public int getAdvertising_weight() {
        return advertising_weight;
    }

    public void setAdvertising_weight(int advertising_weight) {
        this.advertising_weight = advertising_weight;
    }

    public String getAdvertising_title() {
        return advertising_title;
    }

    public void setAdvertising_title(String advertising_title) {
        this.advertising_title = advertising_title;
    }

    public String getAdvertising_content() {
        return advertising_content;
    }

    public void setAdvertising_content(String advertising_content) {
        this.advertising_content = advertising_content;
    }

    public String getAdvertising_startTime() {
        return advertising_startTime;
    }

    public void setAdvertising_startTime(String advertising_startTime) {
        this.advertising_startTime = advertising_startTime;
    }

    public String getAdvertising_endTime() {
        return advertising_endTime;
    }

    public void setAdvertising_endTime(String advertising_endTime) {
        this.advertising_endTime = advertising_endTime;
    }

    public String getAdvertising_url() {
        return advertising_url;
    }

    public void setAdvertising_url(String advertising_url) {
        this.advertising_url = advertising_url;
    }

    @Override
    public String toString() {
        return "AdvertisingMapper{" +
                "advertising_id=" + advertising_id +
                ", advertising_enabled=" + advertising_enabled +
                ", advertising_type='" + advertising_type + '\'' +
                ", advertising_weight=" + advertising_weight +
                ", advertising_title='" + advertising_title + '\'' +
                ", advertising_content='" + advertising_content + '\'' +
                ", advertising_startTime='" + advertising_startTime + '\'' +
                ", advertising_endTime='" + advertising_endTime + '\'' +
                ", advertising_url='" + advertising_url + '\'' +
                '}';
    }
}
